.Net Framework > v3.5.21022.8 > System > DirectoryServices > AccountManagement > PrincipalCollection > Contains Contains(ComputerPrincipal)
Contains(GroupPrincipal)
Contains(Principal)
Contains(PrincipalContext,IdentityType,String)
Contains(UserPrincipal)


Contains(ComputerPrincipal)

Category
Method
Description
Returns true if the collection contains the specified System.DirectoryServices.AccountManagement.ComputerPrincipal object.
Type
Boolean
Character
public
Parameters
NameTypeDescription
computerComputerPrincipal
Attributes
NameValue/Assignment
SecurityCriticalAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Contains(GroupPrincipal)

Category
Method
Description
Returns true if the collection contains the specified System.DirectoryServices.AccountManagement.GroupPrincipal object.
Type
Boolean
Character
public
Parameters
NameTypeDescription
groupGroupPrincipal
Attributes
NameValue/Assignment
SecurityCriticalAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Contains(Principal)

Category
Method
Description
Returns true if the collection contains the specified System.DirectoryServices.AccountManagement.Principal object.
Type
Boolean
Character
public, Sealed
Parameters
NameTypeDescription
principalPrincipal
Attributes
NameValue/Assignment
SecurityCriticalAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Contains(PrincipalContext,IdentityType,String)

Category
Method
Description
Returns true if the System.DirectoryServices.AccountManagement.Principal object matching the / pair is in the collection
Type
Boolean
Character
public
Parameters
NameTypeDescription
contextPrincipalContext
identityTypeIdentityType
identityValueString
Attributes
NameValue/Assignment
SecurityCriticalAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Contains(UserPrincipal)

Category
Method
Description
Returns true if the collection contains the specified System.DirectoryServices.AccountManagement.UserPrincipal object.
Type
Boolean
Character
public
Parameters
NameTypeDescription
userUserPrincipal
Attributes
NameValue/Assignment
SecurityCriticalAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database